#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2020/6/8 11:33
# @Author  : CoderCharm
# @File    : schemas.py
# @Software: PyCharm
# @Desc    :
"""

验证参数

"""

from pydantic import BaseModel


class UserLogin(BaseModel):
    """
    用户登录
    """
    username: str
    password: str


class Token(BaseModel):
    access_token: str
    token_type: str


class VerityUserIn(BaseModel):
    uuid: str
    auth_type: str
    username: str
    avatar: str
    is_active: str
    is_superuser: str
    hash_password: str
